widget: Be safe against windows losing their frame clock
authorMatthias Clasen <mclasen@redhat.com>
Wed, 23 Dec 2015 04:46:59 +0000 (23:46 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 23 Dec 2015 04:57:06 +0000 (23:57 -0500)
commitb6d287aab5606f6cd40f871d16e73fcb0558b55c
tree86b15f085c6bbdc9ea54cf7eb65e483a74b4b944
parent8ffa8b3a495ae9fa34eb2139dec066167a8f8daf
widget: Be safe against windows losing their frame clock

gdk_widget_get_frame_clock can return NULL. In particular,
this can happen when the drag window is destroyed at the end
of a DND operation. Handle this gracefully when it happens.
gtk/gtkwidget.c